<%@ page import="com.qf.emp.entity.Profile" %>
<%--
  Created by IntelliJ IDEA.
  User: 22240
  Date: 2022/5/15
  Time: 11:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>修改人员档案展示页面</title>
</head>
<body>
    <form method = 'post'>
        编号：<input type='text' name='id' value="${per.id}"/><br/>
        姓名：<input type='text' name='name' value="${per.name}"/><br/>
        生日：<input type='text' name='birthday' value="${per.birthday}"/><br/>
        性别:
        <input type="radio" name="gender" value="0"/>男
        <input type="radio" name="gender" value="1"/>女
        <br/>
        职业：<input type='text' name='career' value="${per.career}"/><br/>
        住所：<input type='text' name='address' value="${per.address}"/><br/>
        电话：<input type='text' name='mobile' value="${per.mobile}"/><br/>
        头像：<input type="file" name="picture" value="${per.picture}}"/><br/>
        <button><a href="${pageContext.request.contextPath}/profile?method=updatePer">提交</a></button> &nbsp;&nbsp;
        <button><a href="${pageContext.request.contextPath}/profile?method=show">返回</a></button>
    </form>
</body>
</html>